package com.example.module_filemanage.Public;

import com.example.module_filemanage.MVVM.Module.Entil.Item_FileInfo_module;
import com.qiniu.storage.model.FileInfo;

import java.util.List;
import java.util.Map;

/**
 * Created by SJ on 2018/4/19.
 */

public  class Data {
    public static volatile Data mInstance;
    //空间列表
    public  List<String> SPACES=null;
    //空间域名列表
    public  Map<String,String> SPACESURL=null;
    //空间当前存储大小
    public  Map<String,Long> SPACESIZE=null;
    //空间文件数量
    public  Map<String,Integer> SPACEFILECOUNT=null;
    //空间文件列表信息
    public  List<Item_FileInfo_module> ALLFILEINFO=null;
    //登陆的账户
    public static String account;
    //账号集
    public static String[] accounts;

    private Data() {
    }

    public static Data getInstance() {
        if (mInstance == null) {
            synchronized (Data.class) {
                if (mInstance == null) {
                    mInstance=new Data();
                }
            }
        }
        return mInstance;
    }


}
